<?php 


require '../dao/jiekousetdao.php';
$jiekousetid=$_GET['jiekousetid'];//获取到要查询的骑士的id
$dao=new jiekousetdao();
$jiekousetlist=$dao->Chaxun($jiekousetid);//查询id
// if(empty($_POST['jiekouset'])){
// 	$infoo= "请输入";
// }
?>
<table class="tab">
<tr>
    <td>ID</td>
	<td>接口名</td>
	<td>入账账号</td>
	<td>修改入账账号</td>
</tr>
<?php 
 foreach ($jiekousetlist as $jiekouset){ ?>
 <tr>
	<?php foreach ($jiekouset as $i=>$value){?>
	<td><?php echo $value; ?></td>
	<?php } ?>
	<td><form  action="../controller/handout.php?con=jiekouset&action=xiu&jiekousetid=<?php echo $jiekouset['id']?>" method="post">
	<input type='text' name='zhang'/>
    <input type="submit"  value="修改"/></form></td>
</tr>
<?php }?> 
</table>
<form  action="../controller/handout.php?con=jiekouset&action=tian" method="post">
<table>	
    <tr><td>接口名：<input type='text' name='ming' placeholder="可输入中英数"/></td></tr>
	<tr><td>入账账号：<input type='text' name='zhang' placeholder="可输入中英数"/></td></tr> 
    <tr><td><input type="submit"  value="添加接口信息"/></td></tr>
    </table>
    </form>


